package com.cuotigou.service;

import com.cuotigou.util.ObjectResult;
import com.cuotigou.util.XMLBean;

import java.io.IOException;
import java.util.Map;

/**
 * Created by Administrator on 2019/1/16.
 */
public interface PayService {

    //支付宝支付
    ObjectResult aliPay(XMLBean xmlBean) throws IOException;

    void aliPayNotify(Map<String,String> map);
    //微信支付
    ObjectResult weixin(XMLBean xmlBean,String ip);
    //苹果支付
    ObjectResult applePay(String userId,String productId);
}
